package com.comparison;


public class TestComparable {
	public static void main(String[] args) {
		Person p1 = new Person("A", 20);
		Person p2 = new Person("B", 21);
		
		int i = p1.compareTo(p2);
		System.out.println(i);
	}
}
